package com.yjs.service;

import java.util.List;

import com.yjs.bean.Goods;

/**
 * Created by Administrator on 2020/9/17.
 * 货物服务层
 */

public interface GoodsService {

    //查询所有的货物
    List<Goods> getAllGoods();

    //添加货物
    void addGoods(Goods goods,String username);

    //删除货物
    void delGoods(String gid,String username);

    //查询单个货物
    Goods getOneGoods(String gid);

    //修改
    void updGoods(Goods goods,String username);
}
